package sanrenxing.teacher.domain;

/**
 * 功能:
 * 编写者:
 * 创建时间：2020/10/22 9:04
 * 版本:
 */
public class TeacherTo {
    //老师编号
    private int teacherId;
    //老师姓名
    private String teacherName;
    //角色姓名
    private String roleName;
    //教师账号
    private String teacherNum;
    //教师密码
    private String teacherPwd;
    //教师手机号码
    private String teacherPhone;

    /**
     * 空参构造方法
     */
    public TeacherTo() {
    }

    /**
     * 带参构造方法
     * @param teacherId 老师编号
     * @param teacherName 老师姓名
     * @param roleName 教员姓名
     * @param teacherNum 老师账号
     * @param teacherPwd 老师密码
     * @param teacherPhone 老师手机号码
     */
    public TeacherTo(int teacherId, String teacherName, String roleName, String teacherNum, String teacherPwd, String teacherPhone) {
        this.teacherId = teacherId;
        this.teacherName = teacherName;
        this.roleName = roleName;
        this.teacherNum = teacherNum;
        this.teacherPwd = teacherPwd;
        this.teacherPhone = teacherPhone;
    }

    //自动生成的set/get方法
    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getTeacherNum() {
        return teacherNum;
    }

    public void setTeacherNum(String teacherNum) {
        this.teacherNum = teacherNum;
    }

    public String getTeacherPwd() {
        return teacherPwd;
    }

    public void setTeacherPwd(String teacherPwd) {
        this.teacherPwd = teacherPwd;
    }

    public String getTeacherPhone() {
        return teacherPhone;
    }

    public void setTeacherPhone(String teacherPhone) {
        this.teacherPhone = teacherPhone;
    }
}

